<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\Route;

Route::rule('/backend/','admin/Index/index');
Route::rule('/backend/user/userList','admin/User/userList');
Route::rule('/backend/user/addUser','admin/User/addUser');
Route::rule('/backend/user/del','admin/User/delUser');
Route::rule('/backend/user/user','admin/User/getUser');
Route::rule('/backend/user/editUser','admin/User/editUser');
Route::rule('/backend/auth/login','admin/User/login');
Route::rule('/backend/auth/logout','admin/User/logout');
Route::rule('/backend/role/roleList','admin/Role/roleList');
Route::rule('/backend/role/addRole','admin/Role/addRole');
Route::rule('/backend/role/role','admin/Role/getRole');
Route::rule('/backend/role/editRole','admin/Role/editRole');
Route::rule('/backend/role/del','admin/Role/delRole');
Route::rule('/backend/role/userRole','admin/Role/bindRolePage');
Route::rule('/backend/role/bind','admin/Role/bindRole');
Route::rule('/backend/auth/permissionList','admin/Role/permissionList');
Route::rule('/backend/auth/addPermission','admin/Role/addPermission');
Route::rule('/backend/auth/permission','admin/Role/getPermission');
Route::rule('/backend/auth/editPermission','admin/Role/editPermission');
Route::rule('/backend/auth/delPermission','admin/Role/delPermission');
Route::rule('/backend/role/permissionForRole','admin/Role/bindPermissionForRolePage');
Route::rule('/backend/role/bindPermission','admin/Role/bindPermission');
Route::rule('/backend/role/roleForPermission','admin/Role/bindRoleForPermissionPage');
Route::rule('/backend/role/bindPermissionRole','admin/Role/bindPermissionRole');
Route::rule('/backend/common/qiniuToken','admin/Common/qiNiu');
Route::rule('/backend/common/qiniuUpload','admin/Common/Upload');
Route::rule('/backend/banner/list','admin/Banner/bannerList');
Route::rule('/backend/banner/del','admin/Banner/bannerDel');
Route::rule('/backend/banner/edit','admin/Banner/bannerEdit');
Route::rule('/backend/banner/save','admin/Banner/bannerSave');
Route::rule('/backend/banner/detail','admin/Banner/bannerDetail');
Route::rule('/backend/menu/list','admin/Menu/mList');
Route::rule('/backend/menu/del','admin/Menu/del');
Route::rule('/backend/menu/edit','admin/Menu/edit');
Route::rule('/backend/menu/save','admin/Menu/save');
Route::rule('/backend/menu/detail','admin/Menu/detail');
Route::rule('/backend/menu/menuList','admin/Menu/bindMenuForRolePage');
Route::rule('/backend/menu/bindMenu','admin/Menu/bindMenu');
Route::rule('/backend/menu/getMenu','admin/Menu/getMenu');
